package 责任链设计模式.风控;

/**
 * 风控管理器的抽象实现
 * 1.可以设置下一个处理器
 * 2.可以处理请求
 */
public abstract class RiskControllManager {

    protected String name;

    public RiskControllManager(String name) {
        this.name = name;
    }

    protected RiskControllManager next;

    public void setNext(RiskControllManager next) {
        this.next = next;
    }

    abstract void handleRequest(Request request);

}
